﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Simple.Contracts.Contracts
{
    /// <summary>
    /// 短信
    /// </summary>
    public interface ISmsService
    {
        /// <summary>
        /// 注册密码
        /// </summary>
        /// <param name="password"></param>
        /// <returns></returns>
        Task SendRegisterPassword(string phone, string password);

        /// <summary>
        /// 发送重置密码
        /// </summary>
        /// <param name="phone"></param>
        /// <param name="password"></param>
        /// <returns></returns>
        Task SendResetPassword(string phone, string password);

        /// <summary>
        /// 发送登录验证码
        /// </summary>
        /// <param name="phone"></param>
        /// <param name="code"></param>
        /// <returns></returns>
        Task SendLoginCode(string phone, string code);
    }
}
